﻿<controls:ChildWindow x:Class="OpenRPOSBackOffice.PeriodEditor"
           xmlns="http://schemas.microsoft.com/winfx/2006/xaml/presentation" 
           xmlns:x="http://schemas.microsoft.com/winfx/2006/xaml" 
           xmlns:d="http://schemas.microsoft.com/expression/blend/2008"
           xmlns:mc="http://schemas.openxmlformats.org/markup-compatibility/2006"
           xmlns:sdk="http://schemas.microsoft.com/winfx/2006/xaml/presentation/sdk" 
           xmlns:my="clr-namespace:OpenRPOSBackOffice" 
           xmlns:controls="clr-namespace:System.Windows.Controls;assembly=System.Windows.Controls" 
           mc:Ignorable="d"
           xmlns:navigation="clr-namespace:System.Windows.Controls;assembly=System.Windows.Controls.Navigation"
           d:DesignWidth="926" d:DesignHeight="560"
           Title="Period Editor" 
           >
    <Grid x:Name="LayoutRoot" Margin="2" Width="903" Height="500">
        <Grid.RowDefinitions>
            <RowDefinition Height="460*" />
            <RowDefinition Height="40" />
        </Grid.RowDefinitions>

        <my:ScheduleControl x:Name="sc0" HorizontalAlignment="Left" VerticalAlignment="Top" Width="220" TabIndex="0" Margin="0,3,0,0" />
        <my:ScheduleControl x:Name="sc1" HorizontalAlignment="Left" VerticalAlignment="Top" Width="221" TabIndex="1" Margin="226,3,0,0" />
        <my:ScheduleControl HorizontalAlignment="Left" Margin="453,3,0,0" x:Name="sc2" TabIndex="1" VerticalAlignment="Top" Width="221" />
        <my:ScheduleControl HorizontalAlignment="Left" Margin="680,3,0,0" x:Name="sc3" TabIndex="1" VerticalAlignment="Top" Width="221" />
        <my:ScheduleControl HorizontalAlignment="Left" Margin="112,219,0,0" x:Name="sc4" TabIndex="0" VerticalAlignment="Top" Width="220" />
        <my:ScheduleControl HorizontalAlignment="Left" Margin="338,219,0,0" x:Name="sc5" TabIndex="0" VerticalAlignment="Top" Width="220" />
        <my:ScheduleControl HorizontalAlignment="Left" Margin="564,219,0,0" x:Name="sc6" TabIndex="0" VerticalAlignment="Top" Width="220" />
        <Button x:Name="btnLoadPreferences" Content="Load Preferences" Width="157" HorizontalAlignment="Right" Margin="0,5,736,0" Grid.Row="1" Click="btnLoadPreferences_Click" />
        <CheckBox x:Name="cbClearSchedule" Content="Clear Schedule" HorizontalAlignment="Left" Margin="179,15,0,0" Grid.Row="1" VerticalAlignment="Top" Padding="3,-3,0,0"/>
        <Button x:Name="btnLoadTemplate" Content="Load Template" HorizontalAlignment="Left" Margin="307,5,0,0" Height="35" Grid.Row="1" VerticalAlignment="Top" Width="153" Click="btnLoadTemplate_Click"/>
        <Button x:Name="btnCopySchedule" Content="Copy Schedule" HorizontalAlignment="Left" Margin="466,5,0,0" Grid.Row="1" VerticalAlignment="Top" Width="153" Height="35" Click="btnCopySchedule_Click"/>
        <Button x:Name="btnOK" Content="OK" Click="btnOK_Click"  Width="75" HorizontalAlignment="Right" Margin="0,10,79,0" Grid.Row="1" />
        <Button x:Name="btnCancel" Content="Cancel" Click="btnCancel_Click" Width="75" HorizontalAlignment="Right" Margin="0,10,0,0" Grid.Row="1" />
    </Grid>
</controls:ChildWindow>